package org.javadatabasemigrations.util;

public class Validation {

    public static void notNull(final Object... objects) {

        for (int i = 0; i < objects.length; i++) {
            if (objects[i] == null) {
                throw new IllegalArgumentException("Parameter [" + i
                    + "] cannot be null.");
            }
        }
    }

}
